package com.chii.order.po;

import java.util.Date;

public class Order {
    private Integer id;

    private String orderNo;

    private Integer uid;

    private String orderSource;

    private Integer paymentAmount;

    private Integer paymentId;

    private Date paymentAt;

    private Boolean paymentState;

    private String message;

    private Date createdAt;

    private Date updatedAt;

    public Order(Integer id, String orderNo, Integer uid, String orderSource, Integer paymentAmount, Integer paymentId, Date paymentAt, Boolean paymentState, String message, Date createdAt, Date updatedAt) {
        this.id = id;
        this.orderNo = orderNo;
        this.uid = uid;
        this.orderSource = orderSource;
        this.paymentAmount = paymentAmount;
        this.paymentId = paymentId;
        this.paymentAt = paymentAt;
        this.paymentState = paymentState;
        this.message = message;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }

    public Order() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource == null ? null : orderSource.trim();
    }

    public Integer getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(Integer paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public Integer getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(Integer paymentId) {
        this.paymentId = paymentId;
    }

    public Date getPaymentAt() {
        return paymentAt;
    }

    public void setPaymentAt(Date paymentAt) {
        this.paymentAt = paymentAt;
    }

    public Boolean getPaymentState() {
        return paymentState;
    }

    public void setPaymentState(Boolean paymentState) {
        this.paymentState = paymentState;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}